package com.biovr.backend.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by monodev on 2017/6/6.
 * websocket 消息类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WebSocketMessage {
    private User sender;
    //消息种类，默认是文本
    private  String msgType="text";
    private  String msg;
}
